package com.education.wisdom.service;

import com.education.wisdom.pojo.LessonresourceUserBuy;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 备课资源购买表 服务层
 *
 * @author d
 * @date 2020-07-13 16:20:28
 */
public interface LessonresourceUserBuyService {

    //查询备课资源购买表信息
    public LessonresourceUserBuy selectLessonresourceUserBuyById(Integer id);

    //查询备课资源购买表列表
    public List<LessonresourceUserBuy> selectLessonresourceUserBuyList(LessonresourceUserBuy lessonresourceUserBuy);
    public List<LessonresourceUserBuy> selectList(LessonresourceUserBuy lessonresourceUserBuy);

    /**
     *  查询用户已购买的备课共享资源
     */
    public List<Integer> selectLessonresourceUserBuyListOther(Integer userId);

    //新增备课资源购买表
    public int insertLessonresourceUserBuy(LessonresourceUserBuy lessonresourceUserBuy);

    //修改备课资源购买表
    public int updateLessonresourceUserBuy(LessonresourceUserBuy lessonresourceUserBuy);

    //删除备课资源购买表信息
    public int deleteLessonresourceUserBuyByIds(String ids);
}